/* 基础样式，保证以 text/css 返回 */
:root {
    --bg: #0b1220;
    --card: #111a2b;
    --muted: #aab3c5;
    --primary: #4f8cff;
}

body {
    background: #ffffff;
    color: #222222;
}

.navbar-brand { font-weight: 700; }

.card {
    background: #ffffff;
    border: 1px solid #e5e7eb; /* 浅灰边框 */
    border-radius: 12px;
}
/* 压缩工具条高度 */
.toolbar-compact { flex-wrap: wrap; gap: 6px; }
.toolbar-compact > .form-control,
.toolbar-compact > .form-select {
    padding-top: 3px;
    padding-bottom: 3px;
    height: 30px;
    line-height: 1.2;
}
.toolbar-compact > .btn {
    padding: 4px 10px;
    height: 32px; /* 避免文字被裁切 */
    line-height: 1.3;
}
/* 历史记录卡片：提高对比度，靠近用户管理表格风格 */
.history-card {
    background: #fafafa; /* 与用户管理更接近的浅底 */
    border-color: #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.history-card .card-title { color: #111827; }
.history-card .card-text { color: #374151; }

.answer-text { white-space: pre-wrap; }

.table td, .table th { vertical-align: middle; }
